import Vue from 'vue'
import App from './App'
import store from './store' // 引入vuex
import http from '@/common/luchApi/api.js';  // 仿axios和promise的请求封装
// import http from '@/common/flyioApi/api.js';  // 引入flyio请求，[https://wendux.github.io/dist/#/doc/flyio/readme]
import TIM from 'tim-wx-sdk'; 
import '@/common/filter.js' // 过滤器

// 引入公用js,
import '@/utils/globalFun.js' // 文件内部已经挂载了全局
import helper from '@/utils/helper.js'; // 需要自行处理挂载
import verification from '@/utils/verification.js' //自定义验证函数

Vue.config.productionTip = false
// import TUIKit from '@/common/TUIKit/index.js'
Vue.prototype.$store = store;
Vue.prototype.$tim = TIM;
Vue.prototype.$http = http;
Vue.prototype.$helper = helper; // this.$helper.to() 
Vue.prototype.$verification=verification;
App.mpType = 'app'

Vue.mixin({
	methods:{
		
	}
})

const app = new Vue({
	store,
    ...App
})
app.$mount()
